package com.example.common;

import android.annotation.SuppressLint;
import android.content.Context;

import androidx.multidex.MultiDexApplication;

import com.alibaba.android.arouter.launcher.ARouter;
import com.example.common.utils.L;

public class MyApplication extends MultiDexApplication {

    @SuppressLint("StaticFieldLeak")
    public static Context sInstener;
    //彩云天气
    public static final String CLOUD_WEATHER = "";

    @Override
    public void onCreate() {
        super.onCreate();
        sInstener = getApplicationContext();
        if (BuildConfig.DEBUG) {
            L.setDebug(true);       //日志打印
            ARouter.openLog();      //打印日志
            ARouter.openDebug();    //打开调试模式
        }
        ARouter.init(this);//初始化
    }


}
